<?php

return [
    'consul' => [
        'address' => '106.14.120.16',
        'port' => 8500,
        'register' => [
            'ID' => 'pay4',
            'Name' => 'pay-php',
            'Tags' => ['primary'],
            'Address' => '106.14.120.16',
            'Port' => 9502,
            'Check' => [
                'tcp' => '106.14.120.16:9502',
                'interval' => '10s',
                'timeout' => '2s',
            ],
            'Weights' => [
                'passing' => 2,
                'warning' => 1
            ]
        ],
        'discovery' => [
//            'name' => 'user',
//            'dc' => 'dc',
//            'passing' => true
            'dc' => 'dc1',
            'tag' => 'primary'

        ]
    ],
];